<?php /* Smarty version Smarty3-RC3, created on 2012-07-16 21:45:02
         compiled from "./templates/default/top.html" */ ?>
<?php /*%%SmartyHeaderCode:95138913850041ade37e3a8-64983689%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'd14f0e490c639e8149148feea4bb01917740c6f3' => 
    array (
      0 => './templates/default/top.html',
      1 => 1342445355,
    ),
  ),
  'nocache_hash' => '95138913850041ade37e3a8-64983689',
  'function' => 
  array (
  ),
  'has_nocache_code' => true,
)); /*/%%SmartyHeaderCode%%*/?>
<div class="top">
	<div class="logo"><img src="<?php echo $_smarty_tpl->getVariable('Sys')->value['TemDir'];?>
<?php echo $_smarty_tpl->getVariable('Web')->value['WebLogo'];?>
" border="0" /></div>
	<div class="right">
		<ul class="regandlang">
			<li class="top-link">
				<?php echo '/*%%SmartyNocache:95138913850041ade37e3a8-64983689%%*/<?php $_smarty_tpl->smarty->_tag_stack[] = array(\'dynamic\', array()); $_block_repeat=true; smarty_block_dynamic(array(), null, $_smarty_tpl->smarty, $_block_repeat, $_smarty_tpl);while ($_block_repeat) { ob_start();?>
/*/%%SmartyNocache:95138913850041ade37e3a8-64983689%%*/';?>
				<?php echo '/*%%SmartyNocache:95138913850041ade37e3a8-64983689%%*/<?php if ($_smarty_tpl->getVariable(\'Sys\')->value[\'isLogin\']!="songcms"){?>/*/%%SmartyNocache:95138913850041ade37e3a8-64983689%%*/';?>
				<a href="<?php echo '/*%%SmartyNocache:95138913850041ade37e3a8-64983689%%*/<?php echo $_smarty_tpl->getVariable(\'Sys\')->value[\'URL\'][\'Reg\'];?>
/*/%%SmartyNocache:95138913850041ade37e3a8-64983689%%*/';?>"><?php echo '/*%%SmartyNocache:95138913850041ade37e3a8-64983689%%*/<?php echo $_smarty_tpl->getVariable(\'Html\')->value[\'NewReg\'];?>
/*/%%SmartyNocache:95138913850041ade37e3a8-64983689%%*/';?></a> | <a href="<?php echo '/*%%SmartyNocache:95138913850041ade37e3a8-64983689%%*/<?php echo $_smarty_tpl->getVariable(\'Sys\')->value[\'URL\'][\'LoginSub\'];?>
/*/%%SmartyNocache:95138913850041ade37e3a8-64983689%%*/';?>"><?php echo '/*%%SmartyNocache:95138913850041ade37e3a8-64983689%%*/<?php echo $_smarty_tpl->getVariable(\'Html\')->value[\'Login\'];?>
/*/%%SmartyNocache:95138913850041ade37e3a8-64983689%%*/';?></a> |
				<?php echo '/*%%SmartyNocache:95138913850041ade37e3a8-64983689%%*/<?php }else{ ?>/*/%%SmartyNocache:95138913850041ade37e3a8-64983689%%*/';?>
				<a href="<?php echo '/*%%SmartyNocache:95138913850041ade37e3a8-64983689%%*/<?php echo $_smarty_tpl->getVariable(\'Sys\')->value[\'URL\'][\'ChanUser\'];?>
/*/%%SmartyNocache:95138913850041ade37e3a8-64983689%%*/';?>"><?php echo '/*%%SmartyNocache:95138913850041ade37e3a8-64983689%%*/<?php echo $_smarty_tpl->getVariable(\'Html\')->value[\'Modify\'];?>
/*/%%SmartyNocache:95138913850041ade37e3a8-64983689%%*/';?></a> | <a href="<?php echo '/*%%SmartyNocache:95138913850041ade37e3a8-64983689%%*/<?php echo $_smarty_tpl->getVariable(\'Sys\')->value[\'URL\'][\'OutLogin\'];?>
/*/%%SmartyNocache:95138913850041ade37e3a8-64983689%%*/';?>"><?php echo '/*%%SmartyNocache:95138913850041ade37e3a8-64983689%%*/<?php echo $_smarty_tpl->getVariable(\'Html\')->value[\'ExitLogin\'];?>
/*/%%SmartyNocache:95138913850041ade37e3a8-64983689%%*/';?></a> |
				<?php echo '/*%%SmartyNocache:95138913850041ade37e3a8-64983689%%*/<?php }?>/*/%%SmartyNocache:95138913850041ade37e3a8-64983689%%*/';?>
				<?php echo '/*%%SmartyNocache:95138913850041ade37e3a8-64983689%%*/<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_dynamic(array(), $_block_content, $_smarty_tpl->smarty, $_block_repeat, $_smarty_tpl); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
/*/%%SmartyNocache:95138913850041ade37e3a8-64983689%%*/';?>
			</li>
			<li><span class="top_pics"><img src="<?php echo $_smarty_tpl->getVariable('Sys')->value['TemDir'];?>
images/top_pics.png" /></span></li>
		</ul>
		<ul class="servicespics">
			<li><img src="<?php echo $_smarty_tpl->getVariable('Sys')->value['TemDir'];?>
images/top_services<?php echo $_smarty_tpl->getVariable('Sys')->value['Lang'];?>
.gif" width="90" height="25" border="0" /></li>
		</ul>
		<ul class="webtel">
			<li><?php echo $_smarty_tpl->getVariable('Web')->value['WebTel1'];?>
</li>
		</ul>		
	</div>
</div>
<div class="navigation">
	<ul>
	<ul>
		<?php  $_smarty_tpl->tpl_vars['navi'] = new Smarty_Variable;
 $_smarty_tpl->tpl_vars['i'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('navis')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['navi']->key => $_smarty_tpl->tpl_vars['navi']->value){
 $_smarty_tpl->tpl_vars['i']->value = $_smarty_tpl->tpl_vars['navi']->key;
?>
		<li id="<?php echo $_smarty_tpl->tpl_vars['navi']->value['ClassID'];?>
"><?php if ((($_smarty_tpl->tpl_vars['navi']->value['sModu']==0&&$_smarty_tpl->getVariable('TemFile')->value=='index.html')||($_smarty_tpl->tpl_vars['navi']->value['sModu']==1&&($_smarty_tpl->getVariable('TemFile')->value=='products.html'||$_smarty_tpl->getVariable('TemFile')->value=='product.html'))||($_smarty_tpl->tpl_vars['navi']->value['sModu']==2&&($_smarty_tpl->getVariable('TemFile')->value=='news.html'||$_smarty_tpl->getVariable('TemFile')->value=='new.html'))||($_smarty_tpl->tpl_vars['navi']->value['sModu']==3&&$_smarty_tpl->getVariable('TemFile')->value=='feedback.html')||($_smarty_tpl->tpl_vars['navi']->value['sModu']==4&&$_smarty_tpl->getVariable('TemFile')->value=='guestbook.html')||($_smarty_tpl->tpl_vars['navi']->value['sModu']==5&&$_smarty_tpl->getVariable('pe')->value['RootID']==$_smarty_tpl->tpl_vars['navi']->value['sNCid'])||($_smarty_tpl->tpl_vars['navi']->value['sModu']==6&&$_smarty_tpl->getVariable('TemFile')->value=='download.html'))){?>
		<a <?php if ($_smarty_tpl->tpl_vars['navi']->value['sModu']=="7"){?>target="_blank"<?php }?> href="<?php echo $_smarty_tpl->tpl_vars['navi']->value['URL'];?>
" style="background:url(<?php echo $_smarty_tpl->getVariable('Sys')->value['TemDir'];?>
images/top_button_bg.gif) no-repeat left -37px;"><?php echo $_smarty_tpl->tpl_vars['navi']->value['sName'];?>
</a>
		<?php }else{ ?><a <?php if ($_smarty_tpl->tpl_vars['navi']->value['sModu']=="7"){?>target="_blank"<?php }?> href="<?php echo $_smarty_tpl->tpl_vars['navi']->value['URL'];?>
"><?php echo $_smarty_tpl->tpl_vars['navi']->value['sName'];?>
</a>
		<?php }?></li>
		<?php }} ?> 
	</ul>
	</ul>
</div>
<div class="announcement">
	<ul>
		<li><img src="<?php echo $_smarty_tpl->getVariable('Sys')->value['TemDir'];?>
images/announcement.gif" width="20" height="16" border="0"></li>
		<li id="announ">
						<?php if ($_smarty_tpl->getVariable('Sys')->value['Lang']==1){?>
			<?php echo $_smarty_tpl->smarty->registered_objects['article'][0]->sList(array('Sort'=>"0",'Rela'=>"000386",'isImg'=>"0",'Start'=>"0",'Total'=>"5",'BackVar'=>'anno'),$_smarty_tpl->smarty,$_smarty_tpl);?>
 			<?php }elseif($_smarty_tpl->getVariable('Sys')->value['Lang']==2){?>
			<?php echo $_smarty_tpl->smarty->registered_objects['article'][0]->sList(array('Sort'=>"0",'Rela'=>"000387",'isImg'=>"0",'Start'=>"0",'Total'=>"5",'BackVar'=>'anno'),$_smarty_tpl->smarty,$_smarty_tpl);?>
 			<?php }?>
			<?php  $_smarty_tpl->tpl_vars['an'] = new Smarty_Variable;
 $_smarty_tpl->tpl_vars['i'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('anno')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['an']->key => $_smarty_tpl->tpl_vars['an']->value){
 $_smarty_tpl->tpl_vars['i']->value = $_smarty_tpl->tpl_vars['an']->key;
?>
			<a target="_blank" href="<?php echo $_smarty_tpl->tpl_vars['an']->value['URL'];?>
"><?php echo $_smarty_tpl->tpl_vars['an']->value['ArticleTitle'];?>
</a><br />
			<?php }} ?>
		</li>
		<li id="date">Loading ...</li>
	</ul>
</div>
<script language="javascript" type="text/javascript">
new Marquee("announ",0,2,600,29,5,3000,3000,29);
Date.prototype.pattern=function(fmt) {        
	var o = {        
		"M+" : this.getMonth()+1, //月份        
		"d+" : this.getDate(), //日        
		"h+" : this.getHours()%12 == 0 ? 12 : this.getHours()%12, //小时        
		"H+" : this.getHours(), //小时        
		"m+" : this.getMinutes(), //分        
		"s+" : this.getSeconds(), //秒        
		"q+" : Math.floor((this.getMonth()+3)/3), //季度        
		"S" : this.getMilliseconds() //毫秒        
	};        
	var week = {        
		"0" : "\u65e5",        
		"1" : "\u4e00",        
		"2" : "\u4e8c",        
		"3" : "\u4e09",        
		"4" : "\u56db",        
		"5" : "\u4e94",        
		"6" : "\u516d"       
	};        
	if(/(y+)/.test(fmt)){        
		fmt=fmt.replace(RegExp.$1, (this.getFullYear()+"").substr(4 - RegExp.$1.length));        
	}        
	if(/(E+)/.test(fmt)){        
		fmt=fmt.replace(RegExp.$1, ((RegExp.$1.length>1) ? (RegExp.$1.length>2 ? "\u661f\u671f" : "\u5468") : "")+week[this.getDay()+""]);        
	}        
	for(var k in o){        
		if(new RegExp("("+ k +")").test(fmt)){        
			fmt = fmt.replace(RegExp.$1, (RegExp.$1.length==1) ? (o[k]) : (("00"+ o[k]).substr((""+ o[k]).length)));        
		}        
	}        
	return fmt;        
}
<?php if ($_smarty_tpl->getVariable('Sys')->value['Lang']=="1"){?>
setInterval("document.getElementById('date').innerHTML = new Date().pattern('yyyy年MM月dd日 hh:mm:ss EEE'); ",1000);
<?php }else{ ?>
setInterval("document.getElementById('date').innerHTML = new Date().pattern('yyyy-MM-dd hh:mm:ss'); ",1000);
<?php }?>
</script>